<template>
    <div class="content">
       <iframe :src="src" style="width:736px;height:414px" frameborder="0" v-if="showType=='row'" ></iframe>
       <iframe :src="src" style="width:414px;height:736px" frameborder="0" v-else ></iframe>
    </div>
</template>
<script>
export default {
   data() {
      return {
        src:'',
        showType:'',//横屏应用？竖屏应用
      }
   },
   mounted() {
     this.showType = this.$route.query.showType
     this.src = this.$route.query.src
   }
}
</script>
<style scoped  lang="scss" >
/* css */
.content{
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333333;
}
</style>